﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:smf="http://schemas.microsoft.com/smf/2010/xaml/player" 
    xmlns:smf_media="http://schemas.microsoft.com/smf/2010/xaml/media" 
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
    xmlns:mwab="clr-namespace:Microsoft.WebAnalytics.Behaviors;assembly=Microsoft.WebAnalytics.Behaviors" 
    xmlns:mwasmf2="clr-namespace:Microsoft.WebAnalytics.Media;assembly=Microsoft.WebAnalytics.SMF2" 
    xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Class="SMF2Player.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">

    	<i:Interaction.Behaviors>
    		<mwab:ConsoleAnalytics/>
    	</i:Interaction.Behaviors>

    	<i:Interaction.Triggers>
    		<i:EventTrigger EventName="MouseLeftButtonDown">
    			<ei:PlaySoundAction/>
    		</i:EventTrigger>
    	</i:Interaction.Triggers>

    	<smf:SMFPlayer LogLevel="All">
    		<smf:SMFPlayer.Playlist>
    			<smf_media:PlaylistItem DeliveryMethod="AdaptiveStreaming" MediaSource="http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest" Title="Big Buck Bunny"/>
    		</smf:SMFPlayer.Playlist>
    		<i:Interaction.Behaviors>
                <mwasmf2:TrackSMFPlayer/>
    		</i:Interaction.Behaviors>
    	</smf:SMFPlayer>

    </Grid>
</UserControl>
